﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace AEM
{
    /// <summary>
    /// SplashScreen.xaml 的交互逻辑
    /// </summary>
    public partial class SplashScreen : Window
    {
        public SplashScreen()
        {
            InitializeComponent();
            this.MaxHeight = System.Windows.SystemParameters.WorkArea.Height;
            this.MaxWidth = System.Windows.SystemParameters.WorkArea.Width;
            this.WindowState = WindowState.Maximized; 
            this.lbVersion.Content = "AEM Copyright(C) 2023 v" + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();
            string time = DateTime.Now.ToString("yyyy-MM-dd");
            lbTimer.Content = time;
        }

        public SplashScreen(double h, double w)
        {

        }
    }
}
